/*router-link链接，to为网址，传值这里为name，路由配置哪里的name值 */
<template>
  <div class="Header">
      <router-link :to="{name:'root'}"> 
          <img src="../assets/cnodejs_light.svg" alt="svg">
      </router-link>
  </div>
</template>

<script>
export default {
  name:"headerImg",
  data(){
      return {}
  }
}
</script>

<style scoped>
.Header {
		background:#5a5555 ;
		height: 50px;
	}
	a {
		text-decoration: none;
		color: #cbc9c9;
	}
	img {
		max-width: 120px;
		margin-left: 50px;
		margin-top: 10px;
	}
	 span {
		float: right;
		margin-right: 50px;
		margin-top: 10px;
	}
</style>





